package com.blog.effective.note10;

public class MethodToString {

    public static void main(String[] args) {
        UserInfo userInfo=new UserInfo("张三","男");
        System.out.println(userInfo);
    }

}